using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Yoozoo.UI.YGUI;

namespace com.yoozoo.gta.Art
{
    public class SetZTestAlways : MonoBehaviour
    {
        private Material _mat;
        void Start()
        {
            _mat = GetComponent<YText>().material;
            _mat.SetInt("unity_GUIZTestMode", (int)UnityEngine.Rendering.CompareFunction.Always);
        }
    }
}
